REM use CL.exe to build *.c File.

CD "C:\DailyBuilding"
CL  /c "src\ioteng.C" > "log\liblog.txt" /Fo"iotenglib\Debug\ioteng.obj"
LIB /out:"iotenglib\Debug\iotenglib.lib" "iotenglib\Debug\ioteng.obj" > "log\liblog.txt"

REM CL  /c "src\testioteng.C" > "log\testlog.txt" /Fo"iotenglib\Debug\testioteng.obj"
REM LINK /out:"iotenglib\Debug\testioteng.exe"  "iotenglib\Debug\testioteng.obj" "iotenglib\Debug\iotenglib.lib" > "log\testlog.txt"

REM use MSDev98.exe to build *.dsp file
CD /D "D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin"
msdev "C:\DailyBuilding\src\testioteng.dsp" /make "all - win32 Release" > "C:\DailyBuilding\log\testlog.txt"
CD /D "C:\DailyBuilding\src"
DEL testioteng.plg
XCOPY Release\testioteng.exe ..\bin /s /D /q /y
RD Release /s /q

REM PAUUSE

EXIT
